package com.vincce.sport.core.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import com.vincce.sport.controller.TimerTaskController;

@Component
public class DateViewTask extends TimerTaskController{
	
//	@Scheduled(initialDelay = 5000,fixedDelay=540000)//初始化完毕以后，每隔多少秒执行一次
	@Scheduled(cron = "0 0 0 * * ?")		//每天0点触发
	public void dateViewTimer(){
		indexDataViewTask();    	
	}
	
}
